﻿using System;

namespace Jinjia.Approve.Model.VM.JJFlow
{
    ///<summary>
    ///jj_flow_instanceVM对象
    ///</summary>
    public class JjFlowInstanceVM
    {
        public int Id { get; set; }
        
        /// <summary>
        /// 流程ID
        /// </summary>
        public int TemplateId { get; set; }

        /// <summary>
        /// 当前节点ID
        /// </summary>
        public int CurrentNodeId { get; set; }

        /// <summary>
        /// 结束节点ID
        /// </summary>
        public int EndNodeId { get; set; }

        /// <summary>
        /// 前端模块唯一键
        /// </summary>
        public string ModularKey { get; set; }

        /// <summary>
        /// 状态 0 审核中 10拒绝 20通过 30 撤回
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public int StartUser { get; set; }

        /// <summary>
        /// 结束人
        /// </summary>
        public int EndUser { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        public string BizOrderId { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        public int OperationType { get; set; }

        public int CreateUserId { get; set; }
        public DateTime CreateTime { get; set; }
        public int UpdateUserId { get; set; }
        public DateTime UpdateTime { get; set; }
    }
}